-- GENERATED SPELL FOR [Iron Rune Worker] --


function spell0_23672(pUnit, Event) --@Piercing Blow,Self--
pUnit:FullCastSpellOnTarget(49749,pUnit)
pUnit:RegisterEvent('Sorts_23672', 606, 1)
end

function Sorts_23672(pUnit, Event)
local choix_sorts_23672 = math.random(0, 0)
if choix_sorts_23672 == 0 then
pUnit:RegisterEvent('spell0_23672', 1, 1)
end
end

function mob23672_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23672', math.random(1500, 3000), 1)
end

function mob23672_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23672_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23672_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23672, 1, 'mob23672_Action')
RegisterUnitEvent(23672, 2, 'mob23672_Leave')
RegisterUnitEvent(23672, 3, 'mob23672_Kill')
RegisterUnitEvent(23672, 4, 'mob23672_Die')
